import request from '@/utils/request'

// 查询应用列表
export function listIndsvrSsoApp(query) {
  return request({
    url: '/system/IndsvrSsoApp/list',
    method: 'get',
    params: query
  })
}

// 查询应用详细
export function getIndsvrSsoApp(id) {
  return request({
    url: '/system/IndsvrSsoApp/' + id,
    method: 'get'
  })
}

// 新增应用
export function addIndsvrSsoApp(data) {
  return request({
    url: '/system/IndsvrSsoApp',
    method: 'post',
    data: data
  })
}

// 修改应用
export function updateIndsvrSsoApp(data) {
  return request({
    url: '/system/IndsvrSsoApp',
    method: 'put',
    data: data
  })
}

// 删除应用
export function delIndsvrSsoApp(id) {
  return request({
    url: '/system/IndsvrSsoApp/' + id,
    method: 'delete'
  })
}
